﻿using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using BeanboxSoftware.BeanProxy;

namespace BeanProxyTest
{
  [TestClass]
  public class ProxyManagerTest
  {
    [TestMethod]
    public void GetIProxyNullTest()
    {
      TestUtils.AssertExceptionThrown<InvalidOperationException>(() => 
      { 
        var r = ProxyManager.GetIProxy(null); 
      }, "null should throw");
    }
  }
}
